<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix='fmt' uri="http://java.sun.com/jsp/jstl/fmt" %>
<jsp:include page="/common/head.jsp" flush="true"/>
<div style="padding: 10px;">
	<div class="layui-collapse" lay-filter="test" style="margin-bottom: 20px;">
	  <div class="layui-colla-item">
	    <h2 class="layui-colla-title">点击修改密码</h2>
	    <div class="layui-colla-content">
	      	<form id="sysuserPasswordUpdateForm" class="layui-form layui-form-pane" action="${pageContext.request.contextPath}/back/sysuser/updateCurrentuserPassword">
				<div class="layui-form-item ">
				    <label class="layui-form-label">旧密码</label>
				    <div class="layui-input-block">
				      <input type="password" name="oldpassword" lay-verify="password"  autocomplete="off" placeholder="请输入旧密码" class="layui-input">
				    </div>
				</div>
				<div class="layui-form-item ">
				    <label class="layui-form-label">新密码</label>
				    <div class="layui-input-block">
				      <input type="password" id="newpassword" name="newpassword" lay-verify="password"  autocomplete="off" placeholder="请输入新密码" class="layui-input">
				    </div>
				</div>
				<div class="layui-form-item ">
				    <label class="layui-form-label">确认新密码</label>
				    <div class="layui-input-block">
				      <input type="password" name="confirmpassword" lay-verify="confirmpassword"  autocomplete="off" placeholder="确认新密码" class="layui-input">
				    </div>
				</div>
				<div class="layui-form-item" align="center">
				    <button class="layui-btn"  lay-submit="" lay-filter="sysuserPasswordUpdateSubmit" style="width:120px;">修改</button>
				    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</form>
	    </div>
	  </div>
	</div>
	<form id="sysuserUpdateForm" class="layui-form layui-form-pane" action="${pageContext.request.contextPath}/back/sysuser/updateCurrentuser">
		<div class="layui-form-item ">
		    <label class="layui-form-label">姓名</label>
		    <div class="layui-input-block">
		      <input type="text" name="username" lay-verify="required" value="${sys_user.username }" autocomplete="off" placeholder="请输入姓名" class="layui-input">
		    </div>
		</div>
		<div class="layui-form-item ">
		    <label class="layui-form-label">账号</label>
		    <div class="layui-input-block">
		      <input type="text" name="accountname" lay-verify="accountname" value="${sys_user.accountname }" autocomplete="off" placeholder="请输入账号" class="layui-input">
		    </div>
		</div>
		<div class="layui-form-item layui-form-text">
		    <label class="layui-form-label">备注</label>
		    <div class="layui-input-block">
		      <textarea name="description" placeholder="请输入备注" class="layui-textarea">${sys_user.description }</textarea>
		    </div>
		</div>
		<div class="layui-form-item" align="center">
		    <button class="layui-btn"  lay-submit="" lay-filter="sysuserUpdateSubmit" style="width:120px;">提交</button>
		    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
		</div>
	</form>
	
	<script src="${pageContext.request.contextPath}/static/js/back/sysuser/currentuserPage.js"></script>
</div>
<jsp:include page="/common/foot.jsp" flush="true"/>